home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Gamer Resource Kit / Hardcore Gamer Resource Kit - Disc 2.iso / Pc / A_C / ACES_PTB.ZIP / UPDATE.BAT < prev   
DOS Batch File  |  1992-09-18  |  4KB  |  139 lines

  1. @echo off
  2. cls
  3. echo 
  4. echo 
  5. echo 
  6. echo                    ╔══════════════════════════════════════╗
  7. echo                    ║     Aces of the Pacific - Patch B    ║
  8. echo                    ║     Copyright 1992  Dynamix, Inc.    ║
  9. echo                    ╚══════════════════════════════════════╝
  10.  
  11. if .%1==. goto usage
  12. if .%2==. goto driveonly
  13. if not exist %1%2\nul goto badpath
  14. if not exist %1%2\aces.com goto noaces
  15. echo 
  16. echo Installing Aces of the Pacific - Patch B to %1%2
  17. echo 
  18. echo NOTE:  Installing the patch requires about 3 Meg of free hard disk space.
  19. echo 
  20. echo Press CTRL-C to Abort or
  21. pause
  22. echo Now Installing...
  23. copy EXES.EXE %1%2 >nul
  24. copy PATCH.A %1%2 >nul
  25. copy PATCH.B %1%2 >nul
  26. copy PATCH.EXE %1%2 >nul
  27.  
  28. %1
  29. cd %2
  30. goto finish
  31.  
  32. :driveonly
  33. if not exist %1\nul goto baddrive
  34. if not exist %1\dynamix\aces\aces.com goto noaces
  35. echo 
  36. echo Installing Aces of the Pacific - Patch B to %1\DYNAMIX\ACES
  37. echo 
  38. echo NOTE:  Installing the patch requires about 3 Meg of free hard disk space.
  39. echo 
  40. echo Press CTRL-C to Abort or
  41. pause
  42. echo Now Installing...
  43. copy EXES.EXE %1\dynamix\aces >nul
  44. copy PATCH.A %1\dynamix\aces >nul
  45. copy PATCH.B %1\dynamix\aces >nul
  46. copy PATCH.EXE %1\dynamix\aces >nul
  47. %1
  48. cd \dynamix\aces
  49.  
  50. :finish
  51. echo Applying Aces patch.  Please Wait...
  52. copy PATCH.A PATCH.RTP >nul
  53. patch
  54. copy PATCH.B PATCH.RTP >nul
  55. patch
  56. del intro.exe
  57. del ps.exe
  58. del ap.exe
  59. exes
  60. del patch.exe
  61. del patch.rtp
  62. del patch.a
  63. del patch.b
  64. del exes.exe
  65.  
  66. rem cls
  67. echo 
  68. echo Installation complete.
  69. echo To run, type ACES.
  70. rem echo 
  71. goto end
  72.  
  73. :badpath
  74. echo 
  75. echo 
  76. echo       ┌───────────────────────────────────────────────────────────────────┐
  77. echo       │  The drive or directory path that you have specified is invalid.  │
  78. echo       └───────────────────────────────────────────────────────────────────┘
  79. echo 
  80. echo 
  81. echo 
  82. pause
  83. cls
  84. goto usage
  85.  
  86. :baddrive
  87. echo 
  88. echo 
  89. echo                 ┌────────────────────────────────────────────────┐
  90. echo                 │  The drive that you have specified is invalid. │
  91. echo                 └────────────────────────────────────────────────┘
  92. echo 
  93. echo 
  94. echo 
  95. pause
  96. cls
  97. goto usage
  98.  
  99. :noaces
  100. echo 
  101. echo 
  102. echo        ┌───────────────────────────────────────────────────────────────────┐
  103. echo        │ The original Aces program has not been installed to the drive or  │
  104. echo        │ directory path you have specified.  Please run the install        │
  105. echo        │ program again.  If this does not work you may have to reinstall   │
  106. echo        │ your original copy of Aces of the Pacific.                        │
  107. echo        └───────────────────────────────────────────────────────────────────┘
  108. echo 
  109. echo 
  110. echo 
  111. pause
  112. cls
  113. goto usage
  114.  
  115. :usage
  116. echo 
  117. echo To install the Aces patch, type 'UPDATE' followed by the drive on which
  118. echo you installed the original Aces of the Pacific.  For example, type:
  119. echo 
  120. echo                  UPDATE C:
  121. echo 
  122. echo if you previously installed Aces of the Pacific to your C: drive.
  123. echo 
  124. echo If, for some reason, you have moved your Aces files to a directory
  125. echo other than \DYNAMIX\ACES, type the new full directory path after the
  126. echo drive letter when you run install.  IMPORTANT:  Be sure to leave a space
  127. echo between the drive letter and the directory path.  For example, type:
  128. echo 
  129. echo                  UPDATE D: \GAMES\ACES
  130. echo 
  131. echo if you have moved Aces to the directory \GAMES\ACES on your D: drive. 
  132. echo 
  133. echo NOTE:  Installing the patch requires about 3 Meg of free hard disk space.
  134. echo 
  135. goto end
  136.  
  137. :end
  138.  
  139.